import sys
sys.path.append('G:/workspace/idea/badminton/src/test/resources/matplotlib/navigation')
from Vector3D import Vector3D

v = Vector3D(3, 4, 0,0.911079)
print("方向:", v.x, v.y, v.z)
v拆分=v.velocity_decomposition()
print("方向:", v拆分.x, v拆分.y, v拆分.z)
v.l=1
v2 = v 
v2拆分=v2.velocity_decomposition()
print("方向:", v2拆分.x, v2拆分.y, v2拆分.z)

import numpy as np
import matplotlib.pyplot as plt
x=np.array([13.6944,1.36944])
a=-1/x**2
plt.plot(x, a)
plt.show()